package org.springframework.orm.ibatis.support;

import org.springframework.orm.ibatis.SqlMapClientTemplate;

import com.ibatis.sqlmap.client.SqlMapClient;

public interface SqlMapClientCluster {
	SqlMapClientTemplate getMasterSqlMapClientTemplate();
	SqlMapClientTemplate getSlaveSqlMapClientTemplate(int partition);
	SqlMapClient getMasterSqlMapClient();
	SqlMapClient getSlaveSqlMapClient(int partition);
	int getNumberOfSlaves();
}
